package com.platform.study.patterns.creational.simple_factory;

import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * User: wangyanginfo
 * Date: 12-11-20
 * Time: 下午4:24
 * To change this template use File | Settings | File Templates.
 */
public abstract class Operation {

    protected String numberA;

    protected String numberB;

    public String getNumberA() {
        return numberA;
    }

    public void setNumberA(String numberA) {
        this.numberA = numberA;
    }

    public String getNumberB() {
        return numberB;
    }

    public void setNumberB(String numberB) {
        this.numberB = numberB;
    }

    /**
     * 计算方法
     * @return 计算结果
     */
    public abstract String operationResult();
}
